package com.hupu.jrs.ui.forum

import com.hupu.jrs.ui.BasePresenter
import com.hupu.jrs.ui.BaseView

/**
 * Created by sll on 2016/5/11.
 */
interface ForumListContract {
    interface View : BaseView {
        fun showLoading()

        fun hideLoading()

        fun onError()

        fun renderForumList(forumList: MutableList<Forum>)

        fun showThreadUi(fid: String)

        fun removeForum(forum: Forum)
    }

    interface Presenter : BasePresenter<View> {

        fun onForumListReceive(forumId: String)

        fun onForumAttentionDelClick(forum: Forum)

        fun onForumOfflineClick(forum: Forum)

        fun onForumClick(forum: Forum)
    }
}
